Skip to contentSkip to conversation

radeonsi: Kernel syscall lockup caused probably by GPU crash

Bug 101746 [email protected] 1 participant 5 messages Jul 10, 2017 – Apr 3, 2018

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=101746

            Bug ID: 101746
           Summary: radeonsi: Kernel syscall lockup caused probably by GPU
                    crash
           Product: Mesa
           Version: 17.1
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

Created attachment 132600
--> https://bugs.freedesktop.org/attachment.cgi?id=132600&action=edit
dmesg with lockup warning at the end

An amdgpu syscall, called by plasmashell, appears to deadlock randomly and freeze X.org completely. Several graphics processes, plasmashell and X.org are left stuck in D-State. Everything else continues to operate correctly, including audio, networking, etc..

The issue seems to appear more frequently whilst running games, although I am unable to find any particular pattern to it.

Running Arch Linux with a custom compiled linux-zen kernel, Mesa 17.1.4 with Radeon RX 480. The issue has been around for a while and affects all 17.1.x releases so far, however I am not certain for how long it has been around. The issue is way too rare though for me to bisect the exact cause however.

Once I get another freeze I will see if I can get any userspace thread dumps from plasmashell and possibly other processes as well as any logs containing something interesting. (This may take anywhere from a few days to weeks due to the random nature of the lockup)

(Also, just to clarify, this is not directly related to
https://bugs.freedesktop.org/show_bug.cgi?id=101294, this occured before and after that issue being fixed.)

Originally reported at, as this manifests itself in the kernel first:
https://bugzilla.kernel.org/show_bug.cgi?id=196291

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101746

--- Comment #2 from Tobias Auerochs <[email protected]> --- Sadly could not find any useful information out of various process logs, in particular Xorg.0.log contains nothing error related. The only thing that is somewhat interesting is that some processes that ought to use OpenGL do not end up stuck in D state, whilst it appears only specifically plasmashell and Xorg get stuck. (Obviously no graphical output works on any other processes either anymore, nor can one switch virtual terminals anymore with Xorg being dead.)

If anyone knows any specific things that may be useful to debug, I can see if anything helps.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101746

--- Comment #3 from Tobias Auerochs <[email protected]> ---
I have not encountered the random hang for a while now (specifically after turning off slideshow in plasmashell) and am unaware of any reliable way to reproduce this exact issue, so not entirely sure if this report being left open is of much use.

However recently I also get a GPU crash by running Overwatch in wine (using a patched version), but as I said, I am not sure if this is even remotely related (besides both causing a GPU crash) at this time.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101746

Timothy Arceri <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |WORKSFORME
             Status|NEW                         |RESOLVED

--- Comment #4 from Timothy Arceri <[email protected]> --- (In reply to Tobias Auerochs from comment #3)

Quoted 5 lines

I have not encountered the random hang for a while now (specifically after turning off slideshow in plasmashell) and am unaware of any reliable way to reproduce this exact issue, so not entirely sure if this report being left open is of much use.

In that case I'll close the bug. Thanks.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel